@extends('common.body')

@section("content")
    <div class="container clear">
        <article class="article_left_list">
            @foreach ($articles as $article)
            <div class="article_link_box">
                <img src="{{ \Illuminate\Support\Facades\Storage::disk("public")->url($article['thumbs']) }}" alt="">
                <div class="article_text">
                    <a href="" class="title">{{ $article->title }}</a>
                    <div class="article_introduction">
                        {{ strip_tags($article->content) }}
                    </div>
                    <div class="article_data">
                        <span>发布时间：{{ $article->created_at }}</span>
                        <span>阅读数：{{ $article->hits }}</span>
                    </div>
                </div>
            </div>
            @endforeach
            {{ $articles->links() }}
        </article>


        <aside>
            @include('article.hot',['limit'=>5])
        </aside>

    </div>
@endsection
